/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018/11/21 Time: 22:26
 *
 * 登录，注册
 */

import React from 'react';
import {Easing, Animated, View} from 'react-native'
import {createStackNavigator, createAppContainer} from "react-navigation";
import LoginScreen from "../screen/login/LoginScreen/LoginScreen"
import {MainNavigator} from "./MainNavigator"
import {Homepage} from "./Homepage";
import AlertNavigator from "./AlertNavigator";
import Homepage_repair from "./Homepage_repair";
import HeaderBackground from "../component/HeaderBackground/HeaderBackground"
import TenantServiceScreen from "../screen/report/TenantService/TenantServiceScreen"
import GuestPreferenceScreen from "../screen/report/GuestPreference/GuestPreferenceScreen"
import RoomHygieneScreen from "../screen/report/RoomHygiene/RoomHygieneScreen"
import AllOnlineReviewsScreen from "../screen/report/AllOnlineReviews/AllOnlineReviewsScreen"
import EnergyConsumptionScreen from "../screen/report/EnergyConsumption/EnergyConsumptionScreen"
import FacilitiesAndEquipmentScreen from "../screen/report/FacilitiesAndEquipment/FacilitiesAndEquipmentScreen"
import EmployeeIncentiveScreen from "../screen/report/EmployeeIncentive/EmployeeIncentiveScreen"
import {COLOR_GRAY_LINE, COLOR_WHITE, FONT_COLOR_SUB_TITLE} from "../constant/PHColors"
import EmployeeServiceEfficiencyScreen from "../screen/report/EmployeeServiceEfficiency/EmployeeServiceEfficiencyScreen"
import OnlineReviewListScreen from "../screen/report/OnlineReviewList/OnlineReviewListScreen"
import ServiceItemOrderScreen from "../screen/report/TenantService/ServiceItemOrderScreen/ServiceItemOrderScreen"
import GoodsItemOrderScreen from "../screen/report/TenantService/GoodsItemOrderScreen/GoodsItemOrderScreen"
import HoursOfCustomerServiceScreen from "../screen/report/TenantService/HoursOfCustomerServiceScreen/HoursOfCustomerServiceScreen"
import HoursOfCheckOutScreen from "../screen/report/TenantService/HoursOfCheckOutScreen/HoursOfCheckOutScreen"
import EmployeeStatisticsScreen from "../screen/report/RoomHygiene/EmployeeStatisticsScreen/EmployeeStatisticsScreen"
import WorkOrderScreen from "../screen/job/WorkOrder/WorkOrderScreen/WorkOrderScreen"
import RoomOrderScreen from "../screen/Housekeeper/RoomOrderScreen"
import CreateRepairWorkOrderScreen from "../screen/job/WorkOrder/CreateRepairWorkOrderScreen/CreateRepairWorkOrderScreen"
import CreateServiceOrderScreen from "../screen/job/WorkOrder/CreateServiceOrderScreen/CreateServiceOrderScreen"
import RepairWorkOrderChoosePlaceScreen from "../screen/job/WorkOrder/RepairWorkOrderChoosePlaceOrObjectScreen/RepairWorkOrderChoosePlaceOrObjectScreen"
import RepairWorkOrderChoosePersonScreen from "../screen/job/WorkOrder/RepairWorkOrderChoosePersonScreen/RepairWorkOrderChoosePersonScreen"
import RepairWorkOrderUploadImageScreen from "../screen/job/WorkOrder/RepairWorkOrderUploadImageScreen/RepairWorkOrderUploadImageScreen"
import RepairWorkOrderUploadImageBase64Screen from "../screen/job/WorkOrder/RepairWorkOrderUploadImageScreen/RepairWorkOrderUploadImageBase64Screen"
import DemoScreen from "../demo/DemoScreen"
import FcuntionalSuggestionsScreen from "../screen/job/FunctionalSuggestionsScreen"
import AuthScreen from "../screen/login/AuthScreen/AuthScreen"
import DepartmentalRepairOrderScreen from "../screen/job/WorkOrder/DepartmentalRepairOrderScreen/DepartmentalRepairOrderScreen"
import ImmediateOrderScreen from "../screen/job/WorkOrder/ImmediateOrderScreen/ImmediateOrderScreen"
import DepartmentalRepairOrderDetailScreen from "../screen/job/WorkOrder/DepartmentalRepairOrderScreen/DepartmentalRepairOrderDetailScreen/DepartmentalRepairOrderDetailScreen"
import EngineerManagementScreen from "../screen/job/EngineeringManagement/EngineerManagementScreen/EngineerManagementScreen"
import PersonnelStatusScreen from "../screen/job/EngineeringManagement/PersonnelStatusScreen/PersonnelStatusScreen"
import InstantMaintenanceOrderScreen from "../screen/job/EngineeringManagement/InstantMaintenanceOrderScreen/InstantMaintenanceOrderScreen"
import UndispatchedEngineeringBillScreen from "../screen/job/EngineeringManagement/UndispatchedEngineeringBillScreen/UndispatchedEngineeringBillScreen"
import FiltersScreen from "../screen/job/EngineeringManagement/PersonnelStatusScreen/FiltersScreen/FiltersScreen"
import QmsMaterialScreen from "../screen/job/EngineeringManagement/QmsMaterial/QmsMaterialScreen"
import InputReasonScreen from "../screen/job/WorkOrder/DepartmentalRepairOrderScreen/DepartmentalRepairOrderDetailScreen/InputReason/InputReasonScreen"
import OrderEditScreen from "../screen/job/WorkOrder/DepartmentalRepairOrderScreen/DepartmentalRepairOrderDetailScreen/OrderEdit/OrderEditScreen"
import ConsumablesScreen from "../screen/job/WorkOrder/DepartmentalRepairOrderScreen/DepartmentalRepairOrderDetailScreen/Consumables/ConsumablesScreen"
import AccountSettingsScreen from "../screen/mine/AccountSettingsScreen/AccountSettingsScreen"
import ContactsScreen from "../screen/contacts/ContactsScreen/ContactsScreen"
import StaffSchedule from "../screen/discover/staffSchedule/StaffSchedule"
import StaffTimeSetting from "../screen/discover/staffSchedule/StaffTimeSetting"
import StaffAdd from "../screen/discover/staffSchedule/StaffAdd"
import ChangePasswordScreen from "../screen/mine/ChangePassword/ChangePasswordScreen"
import NewMessageSettingsScreen from "../screen/mine/NewMessageSettingsScreen/NewMessageSettingsScreen"
import LocalPhoneNumVerify from "../screen/mine/LocalPhoneNumVerify/LocalPhoneNumVerify"
import RoomDiskScreen from "../screen/RoomDisk/RoomDiskScreen/RoomDiskScreen"
import RoomsViewScreen from "../screen/RoomDisk/RoomDiskScreen/RoomsViewScreen"
import RoomStatusScreen from "../screen/RoomDisk/RoomStatus/RoomStatusScreen"
import orderInfo from "../screen/RoomDisk/RoomStatus/orderInfo"
import RoommatesScreen from "../screen/RoomDisk/RoomStatus/RoommatesScreen"
import GuestledgerScreen from "../screen/RoomDisk/RoomStatus/GuestledgerScreen"
import newScurry from "../screen/RoomDisk/RoomStatus/newScurry"
import newCheckOut from "../screen/RoomDisk/RoomStatus/newCheckOut"
import newGoodService from "../screen/RoomDisk/RoomStatus/newGoodService"
import newClean from "../screen/RoomDisk/RoomStatus/newClean"
import newRoomCleanScreen from "../screen/RoomDisk/RoomStatus/newRoomCleanScreen"
import searchMissScreen from "../screen/RoomDisk/RoomStatus/searchMissScreen"
import guestServiceScreen from "../screen/RoomDisk/RoomStatus/guestServiceScreen"
import changeStatusScreen from "../screen/RoomDisk/RoomStatus/changeStatusScreen"
import rmm_lose from "../screen/RoomDisk/RoomStatus/rmm_lose_screen"
import rmm_lose_add from "../screen/RoomDisk/RoomStatus/rmm_lose_add_screen"
import setOOOSScreen from  "../screen/RoomDisk/RoomStatus/setOOOSScreen"
import CancelSweepOrderScreen from "../screen/RoomDisk/RoomStatus/RoomStatusBranch/CancelSweepOrderScreen"
import CancelCheckOrderScreen from "../screen/RoomDisk/RoomStatus/RoomStatusBranch/CancelCheckOrderScreen"
import OrderFailedScreen from "../screen/RoomDisk/RoomStatus/RoomStatusBranch/OrderFailedScreen"
import ChangeUseridScreen from "../screen/RoomDisk/RoomStatus/RoomStatusBranch/ChangeUseridScreen"
import RoomRepariRecordScreen from "../screen/RoomDisk/RoomRepariRecord/RoomRepariRecordScreen"

import HousekeeperMainNavigator from "./HousekeeperMainNavigator"
import roomCleanScreen from "../screen/Housekeeper/roomCleanScreen/roomCleanScreen"
import addLinenAndBarScreen from "../screen/Housekeeper/addLinenAndBar/addLinenAndBarScreen"
import selectDictcodePlugIn from "../screen/custom/selectDictcode/selectDictcodePlugIn"
import addLinenAndBarResultScreen from "../screen/Housekeeper/addLinenAndBar/addLinenAndBarResultScreen"
import ShowOrderDetailScreen from "../screen/Housekeeper/showOrderDetail/ShowOrderDetailScreen"
import addCheckUnusualScreen from "../screen/Housekeeper/addCheckUnusual/addCheckUnusualScreen"
import addCheckUnusualResultScreen from "../screen/Housekeeper/addCheckUnusual/addCheckUnusualResultScreen"
import chooseConsumeScreen from "../screen/Housekeeper/addCheckUnusual/chooseConsume/chooseConsumeScreen"
import chooseLeaveScreen from  "../screen/Housekeeper/addCheckUnusual/chooseLeave/chooseLeaveScreen"
import chooseRoomStateScreen from "../screen/Housekeeper/addCheckUnusual/chooseRoomState/chooseRoomStateScreen"
import SelectRoomScreen from "../screen/Housekeeper/selectRoomScreen/SelectRoomScreen"
import RetrieveRoomsViewScreen from "../screen/Housekeeper/retrieveRoomsView/RetrieveRoomsViewScreen"
import RetrieveWHSKAlinusersScreen from "../screen/Housekeeper/retrieveWHSKAlinusers/RetrieveWHSKAlinusersScreen"
import PracticeScreen from "../screen/practice/PracticeScreen"
import JPushModal from "../component/JPushModalView/JPushModalView"
import WorkOrderListScreen from "../screen/Housekeeper/workOrderList/WorkOrderListScreen"
import TestScreen from "../screen/mine/MineScreen/TestScreen"
import AssignRoom from "../screen/discover/assignRoom/AssignRoom"

//---------报表-----------
import roomChangeReport from "../screen/report/Report/roomChangeReport"
import roomHistoryReport from "../screen/report/Report/roomHistoryReport"

import AntDesign from "react-native-vector-icons/AntDesign";



// import RepairWorkOrderChooseConsumablesScreen from "../screen/job/WorkOrder/RepairWorkOrderChooseConsumablesScreen/RepairWorkOrderChooseConsumablesScreen"


const navigationOptions = {
  headerTitleStyle: {textAlign: 'left',justifyContent: 'flex-start', alignSelf: 'center', color: '#212121',fontWeight: '100',fontSize:17,marginLeft: -15,paddingLeft: 0,},
  // headerLeft: <AntDesign name={'left'} size={18} style={{color: '#333333'}}/>,
  headerBackground: <HeaderBackground/>,
  // headerTransparent: true,
  headerTintColor: '#212121',
  headerBackTitle: null,
  gesturesEnabled: true,
  headerStyle: {
    borderBottomWidth: 1,
    elevation: 0,
    borderBottomColor:COLOR_GRAY_LINE,
    height:47,
  },
};

const transitionConfig = () => {
  return {
    transitionSpec: {
      duration: 750,
      easing: Easing.out(Easing.poly(4)),
      timing: Animated.timing,
      useNativeDriver: true,
    },
    screenInterpolator: sceneProps => {      
      const { position, layout, scene } = sceneProps

      const { route } = scene;
      const params = route.params || {};

      const thisSceneIndex = scene.index
      const width = layout.initWidth

      const translateX = position.interpolate({
        inputRange: [thisSceneIndex - 1, thisSceneIndex, thisSceneIndex + 1],
        outputRange: [width, 0, 0]
      })

      let  slideFromRight = { transform: [{ translateX }] };
      if(params.transition === "forInitial"){
          slideFromRight = { transform: [] };
      }

      // const slideFromRight = { transform: [{ translateX }] };
      return slideFromRight
    },
  }
}

const AppNavigator = createStackNavigator({
  // DevScreen: {
  //   screen: DemoScreen,
  //   navigationOptions: {...navigationOptions}
  // },

  AuthScreen: {
    screen: AuthScreen,
    navigationOptions: {...navigationOptions}
  },

  LoginScreen: {
    screen: LoginScreen,
    navigationOptions: {...navigationOptions}
  },

  Homepage: {
      screen: Homepage,
      navigationOptions: {...navigationOptions}
  },

  MainNavigator: {
    screen: MainNavigator,
    navigationOptions: {...navigationOptions}
  },

  HousekeeperMainNavigator: {
      screen: HousekeeperMainNavigator,
      navigationOptions: {...navigationOptions}
  },

  // ========== Demo ========== //
  DemoScreen: {
    screen: DemoScreen,
    navigationOptions: {...navigationOptions}
  },
  // ========== Demo ========== //

  TenantServiceScreen: { // 住客服务
    screen: TenantServiceScreen,
    navigationOptions: {...navigationOptions}
  },

  GuestPreferenceScreen: { // 客人偏好
    screen: GuestPreferenceScreen,
    navigationOptions: {...navigationOptions}
  },

  RoomHygieneScreen: { // 客房卫生
    screen: RoomHygieneScreen,
    navigationOptions: {...navigationOptions}
  },

  AllOnlineReviewsScreen: { // 全部网评
    screen: AllOnlineReviewsScreen,
    navigationOptions: {...navigationOptions}
  },

  EnergyConsumptionScreen: { // 能耗
    screen: EnergyConsumptionScreen,
    navigationOptions: {...navigationOptions}
  },

  FacilitiesAndEquipmentScreen: { // 设施设备
    screen: FacilitiesAndEquipmentScreen,
    navigationOptions: {...navigationOptions}
  },

  EmployeeIncentiveScreen: { // 员工激励
    screen: EmployeeIncentiveScreen,
    navigationOptions: {...navigationOptions}
  },

  EmployeeServiceEfficiencyScreen: { // 员工服务效率
    screen: EmployeeServiceEfficiencyScreen,
    navigationOptions: {...navigationOptions}
  },

  OnlineReviewListScreen: {
    screen: OnlineReviewListScreen, // 网评列表
    navigationOptions: {...navigationOptions}
  },

  ServiceItemOrderScreen: {
    screen: ServiceItemOrderScreen, // 服务项排序
    navigationOptions: {...navigationOptions}
  },

  GoodsItemOrderScreen: {
    screen: GoodsItemOrderScreen, // 物品列表排序
    navigationOptions: {...navigationOptions}
  },

  HoursOfCustomerServiceScreen: {
    screen: HoursOfCustomerServiceScreen, // 住客服务高峰时段
    navigationOptions: {...navigationOptions}
  },

  HoursOfCheckOutScreen: {
    screen: HoursOfCheckOutScreen, // 退房检查高峰时段
    navigationOptions: {...navigationOptions}
  },

  EmployeeStatisticsScreen: {
    screen: EmployeeStatisticsScreen, // 员工做房统计
    navigationOptions: {...navigationOptions}
  },

  WorkOrderScreen: {
    screen: WorkOrderScreen, // 我的工单
    navigationOptions: {...navigationOptions}
  },

    RoomOrderScreen:{
        screen: RoomOrderScreen, // 我的工单
        navigationOptions: {...navigationOptions}
    },

  CreateRepairWorkOrderScreen: {
    screen: CreateRepairWorkOrderScreen, // 新建维修工单
    navigationOptions: {...navigationOptions}
  },

  CreateServiceOrderScreen: {
    screen: CreateServiceOrderScreen, // 新建服务工单
    navigationOptions: {...navigationOptions}
  },

  RepairWorkOrderChoosePlaceScreen: {
      screen: RepairWorkOrderChoosePlaceScreen, // 新建维修工单 => 报修地点
      navigationOptions: {...navigationOptions}
  },

  RepairWorkOrderChoosePersonScreen: {
      screen: RepairWorkOrderChoosePersonScreen, // 新建维修工单 => 报修对象
      navigationOptions: {...navigationOptions}
  },

  RepairWorkOrderUploadImageScreen: {
    screen: RepairWorkOrderUploadImageScreen, // 新建维修工单 => 上传图片
    navigationOptions: {...navigationOptions}
  },

  RepairWorkOrderUploadImageBase64Screen: {
      screen: RepairWorkOrderUploadImageBase64Screen, // 新建维修工单 => 上传图片Base64
      navigationOptions: {...navigationOptions}
  },

  ImmediateOrderScreen: {
    screen: ImmediateOrderScreen, // 即时工单
    navigationOptions: {...navigationOptions}
  },

  DepartmentalRepairOrderScreen: {
    screen: DepartmentalRepairOrderScreen, // 部门报修单
    navigationOptions: {...navigationOptions}
  },

  DepartmentalRepairOrderDetailScreen: {
      screen: DepartmentalRepairOrderDetailScreen, // 部门报修单详情
      navigationOptions: {...navigationOptions}
  },

  FcuntionalSuggestionsScreen: {
    screen: FcuntionalSuggestionsScreen,//功能建议
    navigationOptions: {...navigationOptions}
  },

  EngineerManagementScreen: {
      screen: EngineerManagementScreen,//工程管理
      navigationOptions: {...navigationOptions}
  },

  InstantMaintenanceOrderScreen: {
      screen: InstantMaintenanceOrderScreen,//工程管理=>即时维修单
      navigationOptions: {...navigationOptions}
  },

  UndispatchedEngineeringBillScreen: {
      screen: UndispatchedEngineeringBillScreen,//工程管理=>未派工程单
      navigationOptions: {...navigationOptions}
  },

  PersonnelStatusScreen: {
      screen: PersonnelStatusScreen,//工程管理=>人员状态
      navigationOptions: {...navigationOptions}
  },

    QmsMaterialScreen:{
        screen: QmsMaterialScreen,//工程管理=>耗材设置
        navigationOptions: {...navigationOptions}
    },

  FiltersScreen: {
      screen: FiltersScreen,//工程管理=>人员状态=>筛选
      navigationOptions: {...navigationOptions}
  },

  InputReasonScreen:{
      screen:InputReasonScreen,//工单内容=>输入原因
      navigationOptions: {...navigationOptions}
  },

  OrderEditScreen:{
      screen:OrderEditScreen,//工单内容=>输入原因
      navigationOptions: {...navigationOptions}
  },

  ConsumablesScreen:{
      screen:ConsumablesScreen,//工单内容=>耗材记录
      navigationOptions: {...navigationOptions}
  },

  AccountSettingsScreen:{
      screen:AccountSettingsScreen,//个人中心=>账户设置
      navigationOptions: {...navigationOptions}
  },

  ContactsScreen:{
      screen:ContactsScreen,//联系人
      navigationOptions: {...navigationOptions}
  },

  StaffSchedule:{
      screen:StaffSchedule,//员工班表
      navigationOptions: {...navigationOptions}
  },

  StaffTimeSetting:{
      screen:StaffTimeSetting,//员工班表
      navigationOptions: {...navigationOptions}
  },

  StaffAdd:{
      screen:StaffAdd,//添加值班员工
      navigationOptions: {...navigationOptions}
  },

  ChangePasswordScreen:{
      screen:ChangePasswordScreen,//个人中心=>账户设置=>修改密码
      navigationOptions: {...navigationOptions}
  },


  NewMessageSettingsScreen:{
      screen:NewMessageSettingsScreen,//个人中心=>新消息提醒
      navigationOptions: {...navigationOptions}
  },

  TestScreen:{
      screen:TestScreen,//个人中心=>新消息提醒
      navigationOptions: {...navigationOptions}
  },

  LocalPhoneNumVerify:{
  screen:LocalPhoneNumVerify,//个人中心=>验证本机号码
      navigationOptions: {...navigationOptions}
  },

  RoomDiskScreen:{
      screen:RoomDiskScreen,//房态盘
      navigationOptions: {...navigationOptions}
  },

  RoomsViewScreen:{
    screen:RoomsViewScreen,//房态盘
    navigationOptions: {...navigationOptions}
  },

  RoomStatusScreen:{
      screen:RoomStatusScreen,//房态盘=>客房状态
      navigationOptions: {...navigationOptions}
  },

  orderInfo:{
      screen:orderInfo,//房态盘=>订单信息
      navigationOptions: {...navigationOptions}
  },

  RoommatesScreen:{
      screen:RoommatesScreen,//同住客人
      navigationOptions: {...navigationOptions}
  },

  GuestledgerScreen:{
      screen:GuestledgerScreen,//客人账
      navigationOptions: {...navigationOptions}
  },

  newScurry:{
      screen:newScurry,//赶房
      navigationOptions: {...navigationOptions}
  },

  newCheckOut:{
      screen:newCheckOut,//退房检查
      navigationOptions: {...navigationOptions}
  },

  newGoodService:{
      screen:newGoodService,//服务物品
      navigationOptions: {...navigationOptions}
  },

  newRoomCleanScreen:{
      screen:newRoomCleanScreen,//打扫房间
      navigationOptions: {...navigationOptions}
  },

  searchMissScreen:{
      screen:searchMissScreen,//打扫房间
      navigationOptions: {...navigationOptions}
  },

  guestServiceScreen:{
      screen:guestServiceScreen,//客人催服务
      navigationOptions: {...navigationOptions}
  },

  changeStatusScreen:{
      screen:changeStatusScreen,//修改房态
      navigationOptions: {...navigationOptions}
  },

  rmm_lose:{
      screen:rmm_lose,//遗留物品
      navigationOptions: {...navigationOptions}
  },

  rmm_lose_add:{
      screen:rmm_lose_add,//遗留物品增加
      navigationOptions: {...navigationOptions}
  },

  setOOOSScreen:{
      screen:setOOOSScreen,//修改房态
      navigationOptions: {...navigationOptions}
  },

  newClean:{
      screen:newClean,//赶房
      navigationOptions: {...navigationOptions}
  },

  RoomRepariRecordScreen:{
      screen:RoomRepariRecordScreen,//房态盘=>客房状态
      navigationOptions: {...navigationOptions}
  },

  roomCleanScreen:{
      screen:roomCleanScreen,//客房员工=>客房清洁
      navigationOptions: {...navigationOptions}
  },

  addCheckUnusualScreen:{
    screen:addCheckUnusualScreen,//客房员工=>查房,查遗留/异常/消费
    navigationOptions: {...navigationOptions}
  },

  addCheckUnusualResultScreen:{
      screen:addCheckUnusualResultScreen,//客房员工=>查房,查遗留/异常/消费的结果
      navigationOptions: {...navigationOptions}
  },

  chooseConsumeScreen:{
      screen:chooseConsumeScreen,//客房员工=>消费
      navigationOptions: {...navigationOptions}
  },

  chooseRoomStateScreen:{
      screen:chooseRoomStateScreen,//客房员工=>客房状态
      navigationOptions: {...navigationOptions}
  },

  chooseLeaveScreen:{
      screen:chooseLeaveScreen,//客房员工=>遗留
      navigationOptions: {...navigationOptions}
  },

  addLinenAndBarScreen:{
      screen:addLinenAndBarScreen,//客房员工=>添加 布草 酒水
      navigationOptions: {...navigationOptions}
  },

  selectDictcodePlugIn:{
      screen:selectDictcodePlugIn,  //字典选择
      navigationOptions: {...navigationOptions}
  },

  addLinenAndBarResultScreen:{
      screen:addLinenAndBarResultScreen,//客房员工=>添加 布草 酒水的结果
      navigationOptions: {...navigationOptions}
  },

  ShowOrderDetailScreen:{
      screen:ShowOrderDetailScreen,//显示录入结果
      navigationOptions: {...navigationOptions}
  },

  SelectRoomScreen:{
      screen:SelectRoomScreen,//客房员工=>选择房间
      navigationOptions: {...navigationOptions}
  },

  RetrieveRoomsViewScreen:{
      screen:RetrieveRoomsViewScreen,//选择房间
      navigationOptions: {...navigationOptions}
  },

  RetrieveWHSKAlinusersScreen:{
      screen:RetrieveWHSKAlinusersScreen,//选择房间
      navigationOptions: {...navigationOptions}
  },

  PracticeScreen:{
      screen:PracticeScreen,//客房员工=>更多
      navigationOptions: {...navigationOptions}
  },

  CancelSweepOrderScreen:{
      screen:CancelSweepOrderScreen,//无需清扫   取消订单
      navigationOptions: {...navigationOptions}
  },

  CancelCheckOrderScreen:{
      screen:CancelCheckOrderScreen,//无法检查
      navigationOptions: {...navigationOptions}
  },

  OrderFailedScreen:{
    screen:OrderFailedScreen,//无法检查
    navigationOptions: {...navigationOptions}
  },



  ChangeUseridScreen:{
      screen:ChangeUseridScreen,//更换处理人、更换清洁人
      navigationOptions: {...navigationOptions}
  },

  JPushModal:{
      screen:JPushModal,
      navigationOptions: {...navigationOptions}
  },

  WorkOrderListScreen:{
      screen:WorkOrderListScreen,
      navigationOptions: {...navigationOptions}
  },

  AlertNavigator: {
      screen: AlertNavigator,
      navigationOptions: {...navigationOptions}
  },

  Homepage_repair:{
      screen: Homepage_repair,
      navigationOptions: {...navigationOptions}
  },

  AssignRoom: {
      screen: AssignRoom,
      navigationOptions: {...navigationOptions}
  },

  roomChangeReport:{
      screen: roomChangeReport,
      navigationOptions: {...navigationOptions}
  },

  roomHistoryReport:{
      screen: roomHistoryReport,
      navigationOptions: {...navigationOptions}
  },



  /*RepairWorkOrderChooseConsumablesScreen:{
      screen: RepairWorkOrderChooseConsumablesScreen, // 选择耗材内容
      navigationOptions: {...navigationOptions}
  },*/
},
{
  transitionConfig,
}
);

export default createAppContainer(AppNavigator);